DIGIMODE=ANALOG_MODE, FILTEROFF=FILTER_ENABLED, INVERT=DISABLED, MODE=INACTIVE, OD=NORMAL
Digital I/O control for port 1 pins PIO0_0 to PIO0_8. These pins include an ADC input.
FUNC | Selects pin function. |
MODE | Selects function mode (on-chip pull-up/pull-down resistor control). 0 (INACTIVE): Inactive. Inactive (no pull-down/pull-up resistor enabled). 1 (PULL_DOWN): Pull-down. Pull-down resistor enabled. 2 (PULL_UP): Pull-up. Pull-up resistor enabled. 3 (REPEATER): Repeater. Repeater mode. |
RESERVED | Reserved. Read value is undefined, only zero should be written. |
INVERT | Input polarity. 0 (DISABLED): Disabled. Input function is not inverted. 1 (ENABLED): Enabled. Input is function inverted. |
DIGIMODE | Select Analog/Digital mode. 0 (ANALOG_MODE): Analog mode. 1 (DIGITAL_MODE): Digital mode. |
FILTEROFF | Controls input glitch filter. 0 (FILTER_ENABLED): Filter enabled. Noise pulses below approximately 10 ns are filtered out 1 (FILTER_DISABLED): Filter disabled. No input filtering is done |
RESERVED | Reserved. Read value is undefined, only zero should be written. |
OD | Controls open-drain mode. 0 (NORMAL): Normal. Normal push-pull output 1 (OPEN_DRAIN): Open-drain. Simulated open-drain output (high drive disabled) |
RESERVED | Reserved. Read value is undefined, only zero should be written. |